#ifndef ADDOPERATOR_H
#define ADDOPERATOR_H

#include "operator.h"

class Q_DECL_EXPORT AddOperator : public QObject, public Operator
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID OperatorInterfaceiid)
    Q_INTERFACES(Operator)
public:
    AddOperator(QObject *parent = nullptr);
    virtual qreal Execute(qreal a, qreal b);
    virtual QString name() const;
};

#endif // ADDOPERATOR_H
